package com.wuxiaofan.api;

/**
 * @author wuxiaofan
 * @date 2021/9/17 2:25 下午
 */

import com.wuxiaofan.vo.ReturnResult;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@Api("登录")
public class LoginApi {

    @RequestMapping("login")
    public ReturnResult login(){
        Map result = new HashMap();
        result.put("token","1111");
        return ReturnResult.success("",result);
    }

}
